module.exports = {
    pluginOptions: {
        electronBuilder: {
            preload: 'src/preload.js',
            builderOptions: {
                productName: "desktop-dashboard",
                appId: "com.gitee.desktop.dashboard",
                directories: {
                    "output": "./dist_electron" //输出文件路径
                },
                dmg: {
                    contents: [
                        {
                            x: 410,
                            y: 150,
                            type: "link",
                            path: "/Applications"
                        },
                        {
                            x: 130,
                            y: 150,
                            type: "file"
                        }
                    ]
                },
                linux: {
                    icon: "./public/icons/icon.svg",
                    target: "deb"
                }
            }
        }
    }
}